.personal-center {
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  .layout-module_head {
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    width: 100%;
    height: 60px;
    position: relative;
    z-index: 2;

    .layout-header-left {
      display: flex;
      margin-left: 24px;
      flex-basis: 232px;
      margin-right: 48px;

      a {
        display: flex;
        align-self: center;
        cursor: pointer;
        align-items: center;

        .icon-logo {
          font-size: 25px;
        }
      }
    }
  }

  .layout-main_wrapper {
    flex: 1 0;
    width: 100%;
    min-height: 680px;

    .layout-module_MainContent {
      width: 100%;
      overflow-y: auto;
      padding-top: 0;

      .layout-module_MainContentChildren {
        min-height: calc(~"100vh - 108px");

        .main-container {
          max-width: 1056px;
          padding: 22px 16px 32px 16px;
          margin-left: auto;
          margin-right: auto;
        }

        .user-homepage {
          width: 998px;
          position: relative;
          padding: 44px 0 48px 0;

          .userInfo-module_userWrapper {
            display: flex;
            margin-left: -10px;

            .userInfo-module_avatarWrapper {
              position: relative;

              .ant-image {
                display: block;

                .userInfo-module_avatar {
                  height: 164px;
                  width: 164px;
                  min-width: 164px;
                  border-radius: 82px;
                  border-color: rgba(0, 0, 0, 0.06);
                  border-width: 1px;
                  border-style: solid;
                  overflow: hidden;
                  position: relative;
                  background-color: #FFFFFF;
                }
              }
            }

            .userInfo-module_info {
              margin-left: 52px;
              position: relative;
              display: flex;
              flex-direction: column;
              justify-content: center;

              .userInfo-module_name {
                display: flex;
                align-items: center;

                .userInfo-module_nickname {
                  font-size: 24px;
                  color: var(--font-color);
                  line-height: 32px;
                  font-weight: 600;
                  margin-top: 12px;
                }

                .userInfo-module_level {
                  text-align: center;
                  cursor: pointer;
                  position: relative !important;
                  top: 0 !important;
                  right: 0;
                  width: 25px;
                  height: 25px;
                  margin-left: 5px;
                  padding-bottom: 50px;

                  .iconfont {
                    font-size: 25px;
                  }
                }

                .userInfo-module_action {
                  display: flex;
                  height: 100%;
                  align-items: center;
                  margin-left: 8px;

                  .userInfo-module_followBtn {
                    height: 32px;
                    padding: 4px 15px;
                    line-height: 1.15;
                    margin-left: 40px;
                    border-radius: 6px;
                    min-width: 76px;
                  }
                }

              }

              .userInfo-module_tag {
                margin: 20px 0 10px 0;
              }

              .userInfo-module_description {
                font-size: 14px;
                line-height: 22px;
                font-weight: 400;
                margin-top: 12px;
              }

              .userInfo-module_detail {
                font-size: 14px;
                color: var(--title-color);
                display: flex;
                margin-top: 16px;

                span {
                  margin-right: 10px;
                }

                .index-module_meta {
                  display: flex;
                  line-height: 22px;
                }
              }

              .userInfo-module_followInfo {
                margin-top: 22px;
                display: flex;
                align-items: center;

                .userInfo-module_followItem {
                  margin-right: 28px;
                  display: flex;
                  align-items: center;

                  .userInfo-module_count {
                    font-size: 18px;
                    color: var(--font-color);
                    line-height: 26px;
                    font-weight: 700;
                    margin-right: 8px;
                  }

                  .userInfo-module_label {
                    font-size: 14px;
                    color: var(--title-color);
                    text-align: center;
                    line-height: 26px;
                    font-weight: 400;
                  }
                }

                .userInfo-module_followingFollowers {
                  display: none;
                }
              }
            }
          }

          .readme-module_userBoardParent {
            padding-top: 24px;
          }

          .columns-module_publicColumn {
            margin-bottom: 20px;

            .columns-module_header {
              color: var(--font-color);
              font-weight: 500;
              font-size: 16px;
              margin-bottom: 24px;
            }

            .columns-module_column-list {
              display: flex;
              flex-wrap: wrap;

              .column-empty {
                margin: 0 auto;
              }

              .topic-card {
                width: 32%;
                border: 1px solid hsla(0, 0%, 0%, 0.04);
                border-radius: 8px;
                position: relative;
                box-sizing: border-box;
                overflow: hidden;
                margin-bottom: 15px;

                &:not(:nth-child(3n)) {
                  margin-right: calc(6% / 3);
                }

                /deep/.ant-card-cover {
                  width: 100%;
                  height: 110px;
                  overflow: hidden;
                  cursor: auto;

                  img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                  }
                }

                /deep/ .ant-card-body {
                  width: 100%;
                  height: 120px;
                  padding: 0;

                  .ant-card-meta {
                    margin: 10px 0;

                    .topic-avatar {
                      margin-left: 30px;
                    }

                    .card-content-item {
                      width: 100%;
                      padding-left: 15px;
                      padding-right: 15px;
                      padding-top: 3px;

                      .topic-title {
                        width: 100%;
                        font-size: 15px;
                        color: var(--font-color);
                        letter-spacing: 0;
                        text-align: left;
                        line-height: 25px;
                        font-weight: 600;
                        z-index: 4;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-bottom: 3px;
                      }

                      .topic-description {
                        width: 100%;
                        font-size: 12px;
                        color: var(--title-color);
                        line-height: 20px;
                        display: -webkit-box;
                        height: 40px;
                        -webkit-box-orient: vertical;    /* 使盒子垂直排列子元素 */
                        -webkit-line-clamp: 2;           /* 限制显示两行 */
                        overflow: hidden;                /* 隐藏超出内容 */
                        text-overflow: ellipsis;         /* 添加省略号 */
                        white-space: normal;
                        margin-bottom: 3px;
                      }

                      .topic-viewCount {
                        color: var(--title-color);
                        font-size: 12px;

                        span {
                          color: var(--font-color);
                          font-weight: 500;
                        }
                      }
                    }
                  }
                }
              }
            }
          }

          .dataStats-module_hotMap {
            margin-bottom: 60px;
          }

          .leastUpdate-module_cardList {
            .leastUpdate-module_cardItem {
              position: relative;

              .timeline-module_container {
                font-size: 14px;
                color: #585A5A;
                line-height: 22px;
                padding-right: 30px;

                span:first-child {
                  margin-right: 8px;
                }

                .line-module_point {
                  width: 6px;
                  height: 6px;
                  border-radius: 50%;
                  background: #BEC0BF;
                  margin-left: 4px;
                  margin-bottom: 2px;
                  display: inline-block;
                }

                .line-module_times {
                  display: inline-block;
                  color: var(--title-color);
                  padding-left: 6px;
                  font-size: 14px;
                  line-height: 22px;
                }
              }

              .cardContent-module_wrapper {
                position: relative;
                padding: 4px 0 24px 18px;
                border-left: 1px dashed rgba(190,192,191,.3);
                margin: 8px 0 8px 6px;

                .cardContent-module_body {
                  overflow: hidden;
                  position: relative;
                  display: flex;
                  justify-content: space-between;
                  align-items: stretch;
                  margin-top: 12px;

                  .doc-updated-info {
                    min-width: 0;
                    display: flex;
                    flex-direction: column;
                    flex: 1;

                    .doc-updated-content {
                      flex: 1;
                      align-content: center;
                      display: flex;
                      flex-direction: column;
                      justify-content: center;

                      /*   a {
                           color: #117CEE;
                           text-decoration: none;
                           background-color: transparent;
                           outline: none;
                           cursor: pointer;
                           transition: color .3s;
                           -webkit-text-decoration-skip: objects;
                           touch-action: manipulation;
                         }*/

                      .doc-updated-title {
                        font-size: 16px;
                        font-weight: 500;
                        color: var(--font-color);
                        display: block;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                      }

                      .doc-updated-desc {
                        margin-top: 6px;
                        font-size: 14px;
                        color: var(--title-color);
                        display: -webkit-box;
                        max-height: 44px;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        line-height: 22px;
                      }
                    }

                    .doc-updated-countInfo {
                      display: flex;
                      align-items: center;
                      font-size: 14px;
                      color: #8A8F8D;
                      line-height: 20px;
                      margin-top: 12px;

                      .simplify-like {
                        position: relative;
                        top: -3px;
                        cursor: pointer;
                        margin-right: 16px;
                        display: flex;
                        align-items: center;

                        .like-module_text {
                          position: relative;
                          top: 3px;
                          margin-left: 4px;
                        }
                      }

                      .doc-updated-original {
                        margin-left: 8px;
                      }
                    }
                  }

                  .doc-updated-cover {
                    flex: 0 0 162px;
                    width: 162px;
                    height: 107px;
                    margin-left: 20px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    overflow: hidden;
                    border-radius: 4px;
                    background-size: cover;
                    background-position: 50%;
                    border: 1px solid #E7E9E8;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/deep/.am-engine {
  color: var(--font-color);
  background: unset;

  .data-codeblock-container {
    .data-codeblock-content {
      background: unset;

      .CodeMirror-sizer {
        .CodeMirror-lines {
          .CodeMirror-cursor {
            border-color: var(--font-color);
          }

          .CodeMirror-code {
            .CodeMirror-line {
              color: var(--font-color);
            }
          }
        }
      }

      .CodeMirror-gutters {
        color: var(--title-color);
        background: var(--on-theme-bg-color);
      }
    }
  }

  h1, h2, h3, h4, h5, h6 {
    color: var(--font-color);
  }

  .data-list {
    color: var(--font-color);
  }
}